package com.bluejie.java.jdbc.dao;

/**
 * Created by bluej on 2018/2/4.
 */
public interface BaseDao<T> {

    void add(T t);

    int update (T t);

    T get(int id);

    T get(String name);

    T get(T t);

    int delete(int id);
}
